Optimal. Leaf size=112 \[ -\frac {a f \tanh ^{-1}\left (\frac {b-a \tanh \left (\frac {1}{2} (c+d x)\right )}{\sqrt {a^2+b^2}}\right )}{b d^2 \left (a^2+b^2\right )^{3/2}}-\frac {f \cosh (c+d x)}{2 d^2 \left (a^2+b^2\right ) (a+b \sinh (c+d x))}-\frac {e+f x}{2 b d (a+b \sinh (c+d x))^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.10, antiderivative size = 112, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {5464, 2664, 12, 2660, 618, 204} \[ -\frac {a f \tanh ^{-1}\left (\frac {b-a \tanh \left (\frac {1}{2} (c+d x)\right )}{\sqrt {a^2+b^2}}\right )}{b d^2 \left (a^2+b^2\right )^{3/2}}-\frac {f \cosh (c+d x)}{2 d^2 \left (a^2+b^2\right ) (a+b \sinh (c+d x))}-\frac {e+f x}{2 b d (a+b \sinh (c+d x))^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 204
Rule 618
Rule 2660
Rule 2664
Rule 5464
Rubi steps
\begin {align*} \int \frac {(e+f x) \cosh (c+d x)}{(a+b \sinh (c+d x))^3} \, dx &=-\frac {e+f x}{2 b d (a+b \sinh (c+d x))^2}+\frac {f \int \frac {1}{(a+b \sinh (c+d x))^2} \, dx}{2 b d}\\ &=-\frac {e+f x}{2 b d (a+b \sinh (c+d x))^2}-\frac {f \cosh (c+d x)}{2 \left (a^2+b^2\right ) d^2 (a+b \sinh (c+d x))}+\frac {f \int \frac {a}{a+b \sinh (c+d x)} \, dx}{2 b \left (a^2+b^2\right ) d}\\ &=-\frac {e+f x}{2 b d (a+b \sinh (c+d x))^2}-\frac {f \cosh (c+d x)}{2 \left (a^2+b^2\right ) d^2 (a+b \sinh (c+d x))}+\frac {(a f) \int \frac {1}{a+b \sinh (c+d x)} \, dx}{2 b \left (a^2+b^2\right ) d}\\ &=-\frac {e+f x}{2 b d (a+b \sinh (c+d x))^2}-\frac {f \cosh (c+d x)}{2 \left (a^2+b^2\right ) d^2 (a+b \sinh (c+d x))}-\frac {(i a f) \operatorname {Subst}\left (\int \frac {1}{a-2 i b x+a x^2} \, dx,x,\tan \left (\frac {1}{2} (i c+i d x)\right )\right )}{b \left (a^2+b^2\right ) d^2}\\ &=-\frac {e+f x}{2 b d (a+b \sinh (c+d x))^2}-\frac {f \cosh (c+d x)}{2 \left (a^2+b^2\right ) d^2 (a+b \sinh (c+d x))}+\frac {(2 i a f) \operatorname {Subst}\left (\int \frac {1}{-4 \left (a^2+b^2\right )-x^2} \, dx,x,-2 i b+2 a \tan \left (\frac {1}{2} (i c+i d x)\right )\right )}{b \left (a^2+b^2\right ) d^2}\\ &=-\frac {a f \tanh ^{-1}\left (\frac {b-a \tanh \left (\frac {1}{2} (c+d x)\right )}{\sqrt {a^2+b^2}}\right )}{b \left (a^2+b^2\right )^{3/2} d^2}-\frac {e+f x}{2 b d (a+b \sinh (c+d x))^2}-\frac {f \cosh (c+d x)}{2 \left (a^2+b^2\right ) d^2 (a+b \sinh (c+d x))}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 1.09, size = 112, normalized size = 1.00 \[ -\frac {\frac {\frac {2 a f \tan ^{-1}\left (\frac {b-a \tanh \left (\frac {1}{2} (c+d x)\right )}{\sqrt {-a^2-b^2}}\right )}{\left (-a^2-b^2\right )^{3/2}}+\frac {d (e+f x)}{(a+b \sinh (c+d x))^2}}{b}+\frac {f \cosh (c+d x)}{\left (a^2+b^2\right ) (a+b \sinh (c+d x))}}{2 d^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.47, size = 1230, normalized size = 10.98 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (f x + e\right )} \cosh \left (d x + c\right )}{{\left (b \sinh \left (d x + c\right ) + a\right )}^{3}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.51, size = 308, normalized size = 2.75 \[ -\frac {2 a^{2} d f x \,{\mathrm e}^{2 d x +2 c}+2 b^{2} d f x \,{\mathrm e}^{2 d x +2 c}+2 a^{2} d e \,{\mathrm e}^{2 d x +2 c}-a b f \,{\mathrm e}^{3 d x +3 c}+2 b^{2} d e \,{\mathrm e}^{2 d x +2 c}-2 a^{2} f \,{\mathrm e}^{2 d x +2 c}+b^{2} f \,{\mathrm e}^{2 d x +2 c}+3 a f \,{\mathrm e}^{d x +c} b -f \,b^{2}}{b \,d^{2} \left (a^{2}+b^{2}\right ) \left (b \,{\mathrm e}^{2 d x +2 c}+2 a \,{\mathrm e}^{d x +c}-b \right )^{2}}+\frac {f a \ln \left ({\mathrm e}^{d x +c}+\frac {a \left (a^{2}+b^{2}\right )^{\frac {3}{2}}-a^{4}-2 a^{2} b^{2}-b^{4}}{\left (a^{2}+b^{2}\right )^{\frac {3}{2}} b}\right )}{2 \left (a^{2}+b^{2}\right )^{\frac {3}{2}} d^{2} b}-\frac {f a \ln \left ({\mathrm e}^{d x +c}+\frac {a \left (a^{2}+b^{2}\right )^{\frac {3}{2}}+a^{4}+2 a^{2} b^{2}+b^{4}}{\left (a^{2}+b^{2}\right )^{\frac {3}{2}} b}\right )}{2 \left (a^{2}+b^{2}\right )^{\frac {3}{2}} d^{2} b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.60, size = 413, normalized size = 3.69 \[ \frac {1}{2} \, f {\left (\frac {2 \, {\left (a b e^{\left (3 \, d x + 3 \, c\right )} - 3 \, a b e^{\left (d x + c\right )} + b^{2} + {\left (2 \, a^{2} e^{\left (2 \, c\right )} - b^{2} e^{\left (2 \, c\right )} - 2 \, {\left (a^{2} d e^{\left (2 \, c\right )} + b^{2} d e^{\left (2 \, c\right )}\right )} x\right )} e^{\left (2 \, d x\right )}\right )}}{a^{2} b^{3} d^{2} + b^{5} d^{2} + {\left (a^{2} b^{3} d^{2} e^{\left (4 \, c\right )} + b^{5} d^{2} e^{\left (4 \, c\right )}\right )} e^{\left (4 \, d x\right )} + 4 \, {\left (a^{3} b^{2} d^{2} e^{\left (3 \, c\right )} + a b^{4} d^{2} e^{\left (3 \, c\right )}\right )} e^{\left (3 \, d x\right )} + 2 \, {\left (2 \, a^{4} b d^{2} e^{\left (2 \, c\right )} + a^{2} b^{3} d^{2} e^{\left (2 \, c\right )} - b^{5} d^{2} e^{\left (2 \, c\right )}\right )} e^{\left (2 \, d x\right )} - 4 \, {\left (a^{3} b^{2} d^{2} e^{c} + a b^{4} d^{2} e^{c}\right )} e^{\left (d x\right )}} + \frac {a \log \left (\frac {b e^{\left (d x + 2 \, c\right )} + a e^{c} - \sqrt {a^{2} + b^{2}} e^{c}}{b e^{\left (d x + 2 \, c\right )} + a e^{c} + \sqrt {a^{2} + b^{2}} e^{c}}\right )}{{\left (a^{2} b + b^{3}\right )} \sqrt {a^{2} + b^{2}} d^{2}}\right )} - \frac {2 \, e e^{\left (-2 \, d x - 2 \, c\right )}}{{\left (4 \, a b^{2} e^{\left (-d x - c\right )} - 4 \, a b^{2} e^{\left (-3 \, d x - 3 \, c\right )} + b^{3} e^{\left (-4 \, d x - 4 \, c\right )} + b^{3} + 2 \, {\left (2 \, a^{2} b - b^{3}\right )} e^{\left (-2 \, d x - 2 \, c\right )}\right )} d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {\mathrm {cosh}\left (c+d\,x\right )\,\left (e+f\,x\right )}{{\left (a+b\,\mathrm {sinh}\left (c+d\,x\right )\right )}^3} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________